package hrms.dao;

import hrms.entity.Account;
import hrms.entity.Staff;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface AccountMapper {
    Account findByPhone(@Param("phone") String phone);
    Account findAccountById(@Param("Id") Integer Id);
    void insertAccount(Account account);
    Integer findStaffIdById(Integer id);
}